<?php
// +----------------------------------------------------------------------
// | Azthink通用开发平台 [ TOMORROW IS ANOTHER DAY ]
// +----------------------------------------------------------------------
// | Copyright (c) 2018-2019 http://www.azthink.top All rights reserved.
// +----------------------------------------------------------------------
// | Author 李忠
// +----------------------------------------------------------------------

namespace app\admin\validate;

use think\Validate;

/**
* 用户组验证器
* @author 李忠
* @createAt 2018-09-06 08:52:27
*/
class Group extends Validate{

	/**
	* 定义验证规则
	* 格式：'字段名'    =>    ['规则1','规则2'...]
	*
	* @var array
	*/
	protected $rule = [
		'title' => 'require',
	];

	/**
	* 定义错误信息
	* 格式：'字段名.规则名'    =>    '错误信息'
	*
	* @var array
	*/
	protected $message = [
		'title.require' => '用户组名称不能为空',
	];


}